//
//  NSDate+Extension.swift
//  DouYuZB
//
//  Created by DSDL on 2016/10/31.
//  Copyright © 2016年 鼎商动力. All rights reserved.
//

import Foundation
extension  Date{
    static func getCurrentTime() -> String{
    
        let nowdate = Date()
        let interval =  Int(nowdate.timeIntervalSince1970)
        return "\(interval)"
    }
 }
